﻿#include <EventControl.h>
#include <iostream>

CEventControl::CEventControl(CListWidget *pList)
    : m_pList(pList)
{

}

CEventControl::~CEventControl()
{

}

bool CEventControl::eventConnect(BaseInterFace::SEvent sEvent)
{
    if (m_pList)
    {
        m_pList->changeModelState(sEvent.bState);
    }
    return false;
}
